Skip to content

Fixes #14921: Detect enums before simplifying platform types#8736

Open
autoantwort wants to merge 1 commit into
cppcheck-opensource:mainfrom
autoantwort:feature-fix-platform-types-in-enum
Open

Fixes #14921: Detect enums before simplifying platform types#8736
autoantwort wants to merge 1 commit into
cppcheck-opensource:mainfrom
autoantwort:feature-fix-platform-types-in-enum

Conversation

@autoantwort

Copy link
Copy Markdown
Contributor

No description provided.

@chrchr-github

Copy link
Copy Markdown
Collaborator

This issue has come up multiple times before, and is not restricted to enums or the Windows library, see e.g. https://trac.cppcheck.net/ticket/12589

Contributing factors:

  • We have a single configuration file for huge libraries/APIs with dozens or hundreds of headers
  • The --library option is usually set per project, not per file

I don't think the proposed change is the right way to address this. Maybe -UHANDLE can be used as a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants